package com.hesicare.health.entity;

import java.util.Date;

public class HisAdviceMidinfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 医嘱ID
     */
    private String prescriptionId;
    /**
     * HIS病人ID
     */
    private String hisPatientId;
    /**
     * 血糖系统患者id
     */
    private Long patientId;
    /**
     * 医嘱创建时间
     */
    private Date creatDate;
    /**
     * 住院号
     */
    private String hospitalizedNum;
    /**
     * 医嘱名称
     */
    private String prescriptionName;
    /**
     * 医嘱数据类型 0-血糖检测:1-血压监测
     */
    private String measureDataType;
    /**
     * ALWAYS-长期医嘱ONCE-临时医嘱
     */
    private String prescriptionType;
    /**
     * 医嘱说明
     */
    private String prescriptionNotes;
    /**
     * 医嘱开始日期 2016-01-01 10:20:21
     */
    private Date startTime;
    /**
     * 医嘱结束日期 2016-01-01 10:20:21
     */
    private Date endTime;
    /**
     * His医生id
     */
    private String doctorId;
    /**
     * His医生名称
     */
    private String doctorName;
    /**
     * 医嘱分组
     */
    private String prescriptionNo;
    /**
     * 医嘱状态 0-可用（已审核、使用中）1-不可用（已停用、撤销、作废）
     */
    private String prescriptionStatus;
    /**
     * 数据处理状态 0-未处理 1-已处理
     */
    private String operatorStatus;

    private String loginName;
    private String type;// 0-his未拆分；1-his已拆分
    private String task;// 已拆分的子任务
    private int times;//执行次数
    private int firstTimes;//执行次数
    private String perFrequency;//执行次数
    private Date ext1;


    public String getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(String prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public String getHisPatientId() {
        return hisPatientId;
    }

    public void setHisPatientId(String hisPatientId) {
        this.hisPatientId = hisPatientId;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }

    public String getHospitalizedNum() {
        return hospitalizedNum;
    }

    public void setHospitalizedNum(String hospitalizedNum) {
        this.hospitalizedNum = hospitalizedNum;
    }

    public String getPrescriptionName() {
        return prescriptionName;
    }

    public void setPrescriptionName(String prescriptionName) {
        this.prescriptionName = prescriptionName;
    }

    public String getMeasureDataType() {
        return measureDataType;
    }

    public void setMeasureDataType(String measureDataType) {
        this.measureDataType = measureDataType;
    }

    public String getPrescriptionType() {
        return prescriptionType;
    }

    public void setPrescriptionType(String prescriptionType) {
        this.prescriptionType = prescriptionType;
    }

    public String getPrescriptionNotes() {
        return prescriptionNotes;
    }

    public void setPrescriptionNotes(String prescriptionNotes) {
        this.prescriptionNotes = prescriptionNotes;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getPrescriptionNo() {
        return prescriptionNo;
    }

    public void setPrescriptionNo(String prescriptionNo) {
        this.prescriptionNo = prescriptionNo;
    }

    public String getPrescriptionStatus() {
        return prescriptionStatus;
    }

    public void setPrescriptionStatus(String prescriptionStatus) {
        this.prescriptionStatus = prescriptionStatus;
    }

    public String getOperatorStatus() {
        return operatorStatus;
    }

    public void setOperatorStatus(String operatorStatus) {
        this.operatorStatus = operatorStatus;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTask() {
        return task;
    }

    public void setTask(String task) {
        this.task = task;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public int getFirstTimes() {
        return firstTimes;
    }

    public void setFirstTimes(int firstTimes) {
        this.firstTimes = firstTimes;
    }

    public String getPerFrequency() {
        return perFrequency;
    }

    public void setPerFrequency(String perFrequency) {
        this.perFrequency = perFrequency;
    }

    public Date getExt1() {
        return ext1;
    }

    public void setExt1(Date ext1) {
        this.ext1 = ext1;
    }


    @Override
    public String toString() {
        return "HisAdviceMidinfo{" +
                "prescriptionId='" + prescriptionId + '\'' +
                ", hisPatientId='" + hisPatientId + '\'' +
                ", patientId=" + patientId +
                ", creatDate=" + creatDate +
                ", hospitalizedNum='" + hospitalizedNum + '\'' +
                ", prescriptionName='" + prescriptionName + '\'' +
                ", measureDataType='" + measureDataType + '\'' +
                ", prescriptionType='" + prescriptionType + '\'' +
                ", prescriptionNotes='" + prescriptionNotes + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", doctorId='" + doctorId + '\'' +
                ", doctorName='" + doctorName + '\'' +
                ", prescriptionNo='" + prescriptionNo + '\'' +
                ", prescriptionStatus='" + prescriptionStatus + '\'' +
                ", operatorStatus='" + operatorStatus + '\'' +
                ", loginName='" + loginName + '\'' +
                ", type='" + type + '\'' +
                ", task='" + task + '\'' +
                ", times=" + times +
                ", firstTimes=" + firstTimes +
                ", perFrequency='" + perFrequency + '\'' +
                ", ext1='" + ext1 + '\'' +
                '}';
    }
}
